xen: Fix x86/64 build.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Mon, 2 Apr 2007 14:29:42 +0000 (15:29 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Mon, 2 Apr 2007 14:29:42 +0000 (15:29 +0100)
Signed-off-by: Keir Fraser <keir@xensource.com>
xen/include/asm-x86/processor.h

index 4c28e48414ca6795b2db657a57e6d9c44cb10b15..2ee10b0a2d8c91d4bf69141d53bfe85bc4b6f6c8 100644 (file)
@@ -413,9 +413,9 @@ static always_inline void __mwait(unsigned long eax, unsigned long ecx)
 struct tss_struct {
     unsigned short     back_link,__blh;
 #ifdef __x86_64__
-    u64 rsp0;
-    u64 rsp1;
-    u64 rsp2;
+    union { u64 rsp0, esp0; };
+    union { u64 rsp1, esp1; };
+    union { u64 rsp2, esp2; };
     u64 reserved1;
     u64 ist[7];
     u64 reserved2;